<div id="page_content">
    <h2><?php echo $this->t->_('News'); ?></h2>
    <div id="pages_list">
    <ul>
    <?php
        foreach($this->news as $key => $val){
          ?>
          <li class="news_button">
          <div>
            <a href="<?php echo ADMIN_URL.'/pages/modify/id/'.$val->sid.'/a/edit/nid/'.$val->id ?>"><?php echo $val->title ?> (<?php echo $val->date ?>)</a>
            <a href="<?php echo ADMIN_URL.'/pages/modify/id/'.$val->sid.'/a/delete/nid/'.$val->id ?>" onClick="return false;" title="<?php echo $this->t->_("Delete") ?>" class="nav_button delete_button"></a>&nbsp;
          </div>
          </li>
      <?php  }
    ?>
    </ul></div>

</div>
<div id="sidebar">
    <a href="<?php echo ADMIN_URL.'/pages/modify/id/'.$this->section->id.'/a/edit' ?>" class="sidebar_button add_button"><?php echo $this->t->_("New post") ?></a>
</div>



